package cn.wolfcode.wolfcodemall.mapper;

import cn.wolfcode.wolfcodemall.domain.Property;
import java.util.List;

public interface PropertyMapper {
    int deleteByPrimaryKey(Integer propertyId);

    int insert(Property record);

    Property selectByPrimaryKey(Integer propertyId);

    List<Property> selectAll();

    int updateByPrimaryKey(Property record);

    //根据分类id查询属性信息
    List<Property> selectByCategoryId(Integer categoryId);
}